package com.juyu.miliao.common.constant;

/**
 * 视频排序 redis key
 *
 * @author jh
 * 2018/7/23
 */
public class HomeVideoRedis {

    /**
     * 首页推荐缓存
     */
    public static final String RECOMMEND_VIDEO_CACHE = "api:video:recommend:";

    /**
     * 首页最新缓存
     */
    public static final String NEWEST_VIDEO_CACHE = "api:video:newest:";

    /**
     * 推荐排序
     */
    public static final String HOT_SORT = "videoDefineHotSort";
    /**
     * 最新排序
     */
    public static final String NEW_SORT = "videoDefineNewSort";

    /**
     * 全局推荐Key
     */
    public static final String GLOBAL_RECOMMEND_KEY = "api:video:recommend:globalkey:";

    /**
     * 全局最新key
     */
    public static final String GLOBAL_NEWEST_KEY = "api:video:newest:globalkey:";

    /**
     * 全局Key默认value
     */
    public static final int DEFAULT_GLOBAL_KEY_VALUE = 1;

    /**
     * 全局key增量
     */
    public static final int GLOBAL_KEY_INCREMENT = 1;

    /**
     * 马甲包热门
     */
    public static final String VEST_HOT_SORT = "videoUnderLineDefineHotSort";

    /**
     * 马甲包最新
     */
    public static final String VEST_NEW_SORT = "videoUnderLineDefineNewSort";

    private HomeVideoRedis() {
    }

}
